|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.bsvrz.dav.daf.main.impl.config.DafSystemObject
de.bsvrz.dav.daf.main.impl.config.DafConfigurationObject
de.bsvrz.dav.daf.main.impl.config.DafAttributeType
public class DafAttributeType
Klasse, die den Zugriff auf Attributtypen seitens der Datenverteiler-Applikationsfunktionen ermöglicht.
| Field Summary | |
|---|---|
protected byte |
_dataValueType
Typkennung des Attributwerts. |
private String |
_defaultAttributeValue
Default-Attributwert oder null falls nicht definiert. |
| Constructor Summary | |
|---|---|
protected |
DafAttributeType(DafDataModel dataModel)
Erzeugt ein neues Objekt dessen Eigenschaften im Anschluss mit der read-Methode eingelesen werden sollten. |
protected |
DafAttributeType(long id,
String pid,
String name,
long typId,
byte state,
String error,
DafDataModel dataModel,
short validFromVersionNumber,
short validToVersionNumber,
long responsibleObjectId,
long[] setIds,
String defaultAttributeValue)
Erzeugt ein neues Objekt mit den angegebenen Eigenschaften |
| Method Summary | |
|---|---|
String |
getDefaultAttributeValue()
Ermittelt den Default-Attributwert dieses Attributtyps. |
void |
read(DataInputStream in)
Deserialisiert dieses Objekt. |
void |
write(DataOutputStream out)
Serialisiert dieses Objekt. |
| Methods inherited from class de.bsvrz.dav.daf.main.impl.config.DafConfigurationObject |
|---|
addSet, duplicate, duplicate, getMutableSet, getNonMutableSet, getNotValidSince, getObjectSet, getObjectSets, getValidSince, isValid, parseToString, removeSet, revalidate |
| Methods inherited from class de.bsvrz.dav.daf.main.impl.config.DafSystemObject |
|---|
compareTo, equals, getConfigurationArea, getConfigurationAreaId, getConfigurationData, getConfigurationData, getConfigurationData, getDataModel, getId, getInfo, getInternType, getName, getNameOrPidOrId, getObject, getPid, getPidOrId, getPidOrNameOrId, getState, getType, getUsedAttributeGroupUsages, hashCode, invalidate, isOfType, isOfType, setConfigurationData, setConfigurationData, setConfigurationData, setName, setState, storeName, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface de.bsvrz.dav.daf.main.config.ConfigurationObject |
|---|
addSet, duplicate, duplicate, getMutableSet, getNonMutableSet, getNotValidSince, getObjectSet, getObjectSets, getValidSince, removeSet, revalidate |
| Methods inherited from interface de.bsvrz.dav.daf.main.config.SystemObject |
|---|
getConfigurationArea, getConfigurationData, getConfigurationData, getConfigurationData, getDataModel, getId, getInfo, getName, getNameOrPidOrId, getPid, getPidOrId, getPidOrNameOrId, getType, getUsedAttributeGroupUsages, invalidate, isOfType, isOfType, isValid, setConfigurationData, setConfigurationData, setConfigurationData, setName, toString |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Field Detail |
|---|
protected byte _dataValueType
DataValueprivate String _defaultAttributeValue
null falls nicht definiert.
| Constructor Detail |
|---|
protected DafAttributeType(DafDataModel dataModel)
dataModel - DataModel Implementierung, der das neue Objekt zugeordnet ist.
protected DafAttributeType(long id,
String pid,
String name,
long typId,
byte state,
String error,
DafDataModel dataModel,
short validFromVersionNumber,
short validToVersionNumber,
long responsibleObjectId,
long[] setIds,
String defaultAttributeValue)
| Method Detail |
|---|
public String getDefaultAttributeValue()
AttributeType
getDefaultAttributeValue in interface AttributeTypenull falls kein Defaultwert festgelegt wurde.
public void write(DataOutputStream out)
throws IOException
DafSystemObject
write in class DafConfigurationObjectout - Stream auf den das Objekt geschrieben werden soll.
IOException
public void read(DataInputStream in)
throws IOException
DafSystemObject
read in class DafConfigurationObjectin - Stream von dem das Objekt gelesen werden soll.
IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||